package com.googlecode.afx.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import com.googlecode.afx.view.AFXViewPosition;

/**
 * Annotation used in combination with <code>AFXController</code> annotation to define the view
 * for a JavaFX controller.
 * 
 * @author MartinKoster
 * 
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface AFXView {

	public String id();
	
	public String fxml();
	
	public boolean modal() default false;
	
	public boolean maximized() default false;
	
	public int sizeX() default -1;
	
	public int sizeY() default -1;
	
	public String title() default "";
	
	public String parentId() default "";
	
	public AFXViewPosition position() default AFXViewPosition.CENTER;
	
	
}
